package com.gedeshidai.shumadevelop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gedeshidai.shumadevelop.model.entity.ProductDetail;
import com.gedeshidai.shumadevelop.model.vo.ProductPreviewVO;

/**
* @author Romdon
* @description 针对表【products_detail(商品详情信息表)】的数据库操作Mapper
* @createDate 2024-06-17 08:28:14
* @Entity com.gedeshidai.shumadevelop.model.entity.ProductDetail
*/
public interface ProductDetailMapper extends BaseMapper<ProductDetail> {
    /**
     * 根据id查询商品预览信息
     * @param id
     * @return
     */
    ProductPreviewVO getPreviewById(Long id);
}



